#include "dialog.h"
#include <QApplication>
#include <QStyleFactory>
#include <QDebug>
#include <QStringList>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Dialog w;
    w.show();

    QStringList styles = QStyleFactory::keys();
    foreach (QString style, styles) {
        qDebug() << style;
    }

    a.setStyle(QStyleFactory::create("Fusion"));
    return a.exec();
}
